/*
 * 文件名：ExpenseService.java
 * 描述： 
 * 修改人： wangshi
 * 修改时间：2012-8-23
 */
package com.ws.app.service;

import java.util.List;
import java.util.Map;

import com.ws.base.db.common.order.Order;
import com.ws.base.db.common.page.Page;

/**
 * ExpenseService
 * 
 * @author wangshi
 * @version
 * @since
 */
public interface ExpenseService {
    public int addExpense(Map<String, Object> condition);

    public int deleteExpenseById(String id);

    public int updateExpense(Map<String, Object> condition);

    public List<Map<String, Object>> queryExpense(
            Map<String, Object> condition, Page page, Order order);

    public Map<String, Object> getExpense(Map<String, Object> condition);
}
